package com.gqs.bookstore.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {
	private static final String pattern = "yyyy-MM-dd HH:mm:ss";
	private static SimpleDateFormat gqs = new SimpleDateFormat(pattern);
	
	public static String toString(Date date) {
		return gqs.format(date);
	} 
}
